/*
 * @Author: zhang00001 774004514@qq.com
 * @Date: 2024-06-14 14:52:19
 * @LastEditors: yansheng 610363806@qq.com
 * @LastEditTime: 2024-06-26 22:36:46
 * @FilePath: \vue-admin\src\router\group\active.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from '@/layout/index.vue'

const BASE_URL = '/news'

export default [{
    path: BASE_URL,
    component: Layout,
    name: 'news',
    redirect: `${BASE_URL}/list`,
    meta: {
        title: '新闻',
        isGroup: true,
        icon: 'i-carbon-location-heart'
    },
    children: [{
        path: `${BASE_URL}/list`,
        name: 'news-list',
        component: () =>
            import ('@/pages/news/index.vue'),
        meta: {
            title: '新闻',
            icon: 'i-carbon-data-check'
        }
    }]
}]